package com.gitee.wsl.collections.api


/**
 * An ordered collection interface.
 *
 * @param <T> Component type
 * @author Ruslan Sennov, Daniel Dietrich
</T> */
interface Ordered<T> {
    /**
     * Returns the comparator which defines the order of the elements contained in this collection.
     *
     * @return The comparator that defines the order of this collection's elements.
     */
    val comparator : Comparator<T>

}
